package data;

import equipement.EArme;


public class Attaque {
	
	private int bonusToucher;
	private EArme arme;
	
	public Attaque(int bonusToucherTotal, EArme arme) {
		
		this.bonusToucher = bonusToucherTotal;
		
		this.arme = arme;
	}
	
	@Override
 	public String toString() {
		String res ="";
		
		if(this.bonusToucher>=0)
			res = "+";
		
		res += this.bonusToucher + " (" + this.arme.toString() + ")";
		
		return res;
	}
}
